'use strict';
/**
 * @params {}
 * @bussiness {作者}
 * @author JC
 * @date 2022-08-16
 * **/
const Service = require('egg').Service;
class Author extends Service {
    async author(params){
        console.log(params,111)
        let result = await this.app.mysql.select('novels_author', {where:{author_id:params.id}, or:{}})
        console.log(result, 222)
        return result
    }
}

module.exports = Author;